package com.magnusart.scrumify.dao;

import java.util.List;

import com.magnusart.scrumppm.model.Builder;

public interface CommonDAO<J extends Comparable<? super J>, T extends Comparable<? super T>, Y extends Builder>
{
	public T add( J parent, T entry );
	
	public T delete( T entry );
	
	public T update( J parent, T entry, Y builder );
	
	public List<T> getAll( J parent );
	
	public T getOne( T entry );
}
